<h3>Deposit Fund from Liberty Reserve</h3>
<div class="form">
    <?php
    $form = $this->beginWidget('CActiveForm', array(
        'action' => 'https://sci.libertyreserve.com/en',
        'method' => 'POST',
        'id' => 'deposit-form-lr',
        'enableClientValidation' => true,
        'clientOptions' => array(
            'validateOnSubmit' => true,
        ),
    ));
    ?>
    <fieldset  class="details">
        <legend>Overview of Transfer</legend>

        Amount to Transfer $<strong><?php echo trim($model->amount); ?></strong><br />
        Currency $<strong>USD</strong><br />
        Liberty Reserve Merchant: JustGetDouble<strong>(JGD)</strong>  
        <input type="hidden" name="lr_amnt" value="<?php echo trim($model->amount); ?>" />       
        <input type="hidden" name="lr_currency" value="LRUSD" />
        <input type="hidden" name="sad" value="USD" />        
        <input type="hidden" name="lr_acc" value="U2490737">
        <input type="hidden" name="lr_store" value="">
        <input type="hidden" name="lr_currency" value="LRUSD">
        <input type="hidden" name="lr_merchant_ref" value="90434">
        <input type="hidden" name="lr_comments" value="Deposit to Just Get Double">
<!--        <input type="hidden" name="lr_success_url" value="http://localhost/just-get-double/index.php/memberPosition/lrSuccess">-->
        <input type="hidden" name="lr_success_url" value="<?php echo Yii::app()->createAbsoluteUrl('memberPosition/lrSuccess') ?>">
        <input type="hidden" name="lr_success_url_method" value="POST">
<!--        <input type="hidden" name="lr_fail_url" value="http://localhost/just-get-double/index.php/memberPosition/lrFail">-->
        <input type="hidden" name="lr_fail_url" value="<?php echo Yii::app()->createAbsoluteUrl('memberPosition/lrFail') ?>">
        <input type="hidden" name="lr_fail_url_method" value="POST">
<!--        <input type="hidden" name="lr_status_url" value="http://localhost/just-get-double/index.php/memberPosition/lrStatus">-->
        <input type="hidden" name="lr_status_url" value="<?php echo Yii::app()->createAbsoluteUrl('memberPosition/lrStatus') ?>">
        <input type="hidden" name="lr_status_url_method" value="POST">        
        <div class="row buttons">
            <br/><?php echo CHtml::submitButton('Process'); ?>
        </div>
        <?php $this->endWidget(); ?>
    </fieldset>
</div>